﻿using System.Collections.Generic;

[System.Serializable]
public class TransitionLevel
{
	public int Levle;
	public Dictionary<TransitionParamType, TransitionParam> Params;
	public TransitionLevel()
	{
		Params = new Dictionary<TransitionParamType, TransitionParam>(3)
		{
			{ TransitionParamType.Prtrol, new TransitionParam(){  Priority = 0 } },
			{ TransitionParamType.Escape, new TransitionParam(){ Priority = 5 } },
			{ TransitionParamType.Chase, new TransitionParam(){  Priority = 10 } }
		};
	}
}
[System.Serializable]
public class TransitionParam 
{
	//two Vigilance and one ReTarget
	public float VigilanceChase = 0;
	public float VigilanceEscape = 0;
	public float VigilancePatrol = 0;
	public float ChaseMaxTime = 0;
	public int Priority;
}
[System.Serializable]
public enum TransitionParamType
{
	Chase = 0,
	Escape = 1,
	Prtrol = 2,
}
